package com.ruoyi.common.core.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 用户修改业务信息
 *
 * @author lie
 * @date 2023/01/10
 */
@Data
@ApiModel("用户修改业务信息")
public class SysUserBusInfoDTO {

    @NotBlank(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "用户昵称")
    private String nickName;
    @ApiModelProperty(value = "手机号码")
    private String phone;
    @ApiModelProperty(value = "会员等级(0:普通会员,1:vip,2:svip))")
    private Long vip;
    @ApiModelProperty(value = "会员到期时间")
    private Date vipDueDate;
    @ApiModelProperty(value = "推荐人id")
    private Long invitationId;

}
